#ifndef WEATHERDATA_H
#define WEATHERDATA_H
#include <QString>
//今天的数据类
class Today{
public:
    Today()
    {
        city ="广州";     //城市
        date ="2025-1-10";  //日期


        weatherType ="多云";     //天气类型
        highTem = 30;           //最高温
        lowTem = 18;            //最低温

        ganMao ="感冒指数";      //感冒指数

        temperature = 0.0;       //温度
        Humidity = "0%";       //湿度
        PM25 = 0;              //PM2.5
        windType ="南风";       //风的类型
        windPower ="2级";       //风力
        airQuality ="无数据";    //空气质量
    }

    QString city;
    QString date;

    double temperature;
    QString weatherType;

    int highTem;
    int lowTem;

    QString ganMao;

    QString Humidity;
    int PM25;
    QString windType;
    QString windPower;
    QString airQuality;

};

//未来几天的数据类
class Day{
public:
    Day()
    {
        week ="周五";             //星期
        date ="2023-7-29";       //日期

        weatherType ="多云";      //天气类型

        airQuality = 0; //空气指数，优        //空气质量

        highTem = 0;              //最高温
        lowTem = 0;               //最低温

        windType ="南风";          //风的类型
        windPower ="2级";         //风力
    }

    QString week;
    QString date;

    QString weatherType;

    int airQuality;

    int highTem;
    int lowTem;

    QString windType;
    QString windPower;
};
#endif // WEATHERDATA_H
